package com.industrial.operation.controller;

import com.industrial.common.core.web.controller.BaseController;
import com.industrial.common.core.web.domain.AjaxResult;
import com.industrial.common.security.annotation.RequiresPermissions;
import com.industrial.operation.service.ICountyDeveSituationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/countydeve")
public class CountyDeveSituationController extends BaseController {

    @Autowired
    private ICountyDeveSituationService countyDeveSituationService;

    /**
     * 全国工业增加值
     * @return
     */
    @RequiresPermissions("daping:countydevesituation:gyzjz")
    @GetMapping("/queryNationalIndustrialAddedValue")
    public AjaxResult queryNationalIndustrialAddedValue(){
        return countyDeveSituationService.queryNationalIndustrialAddedValue();
    }

    /**
     * 规模以上工业增加值增速
     * @return
     */
    @RequiresPermissions("daping:countydevesituation:zjzzs")
    @GetMapping("/queryPreMuAla")
    public AjaxResult queryPreMuAla(){
        return countyDeveSituationService.queryPreMuAla();
    }

    /**
     * 制造业增值税、企业所得税等重点税收贡献情况
     * @return
     */
    @RequiresPermissions("daping:countydevesituation:gxqk")
    @GetMapping("/queryPreMuEcPt")
    public AjaxResult queryPreMuEcPt(){
        return countyDeveSituationService.queryPreMuEcPt();
    }


    /**
     * 制造业增加值占GDP比重及提高幅度
     * @return
     */
    @RequiresPermissions("daping:countydevesituation:tgfd")
    @GetMapping("/queryPreMuEcTec")
    public AjaxResult queryPreMuEcTec(){
        return countyDeveSituationService.queryPreMuEcTec();
    }

    /**
     * 规模以上工业企业数量及增幅
     * @return
     */
    @RequiresPermissions("daping:countydevesituation:slzf")
    @GetMapping("/queryLpvGdp")
    public AjaxResult queryLpvGdp(){
        return countyDeveSituationService.queryLpvGdp();
    }



    /**
     * 工业投资增速
     * @return
     */
    @RequiresPermissions("daping:fzql:gytzzs")
    @GetMapping("/queryLpvAvNumEmploy")
    public AjaxResult queryLpvAvNumEmploy(){
        return countyDeveSituationService.queryLpvAvNumEmploy();
    }

    /**
     * 工业技术改造投资增速
     * @return
     */
    @RequiresPermissions("daping:fzql:jsgztzzs")
    @GetMapping("/queryEpResearchDevelop")
    public AjaxResult queryEpResearchDevelop(){
        return countyDeveSituationService.queryEpResearchDevelop();
    }

    /**
     * 规模以上工业企业亩均税收
     * @return
     */
    @RequiresPermissions("daping:fzql:mjss")
    @GetMapping("/queryEpOperatingRevenue")
    public AjaxResult queryEpOperatingRevenue(){
        return countyDeveSituationService.queryEpOperatingRevenue();
    }

    /**
     * 省级以上专精特新及单项冠军数量
     * @return
     */
    @RequiresPermissions("daping:fzql:dxgjsl")
    @GetMapping("/queryPollutionEmission")
    public AjaxResult queryPollutionEmission(){
        return countyDeveSituationService.queryPollutionEmission();
    }

    /**
     * 制造业贷款占各项贷款余额比重
     * @return
     */
    @RequiresPermissions("daping:fzql:dkyebz")
    @GetMapping("/queryCompDevelopMvg")
    public AjaxResult queryCompDevelopMvg(){
        return countyDeveSituationService.queryCompDevelopMvg();
    }

    /**
     * 规模以上工业企业R&D经费支出占营业收入比重
     * @return
     */
    @RequiresPermissions("daping:cxhl:rd")
    @GetMapping("/queryCompDevelopQr")
    public AjaxResult queryCompDevelopQr(){
        return countyDeveSituationService.queryCompDevelopQr();
    }

    /**
     * 高技术产业产值占规模以上工业总产值比重
     * @return
     */
    @RequiresPermissions("daping:cxhl:zczbz")
    @GetMapping("/queryCompDevelopEn")
    public AjaxResult queryCompDevelopEn(){
        return countyDeveSituationService.queryCompDevelopEn();
    }

    /**
     * 数字经济核心产业收入规模
     * @return
     */
    @RequiresPermissions("daping:cxhl:srgm")
    @GetMapping("/queryCompDevelopRc")
    public AjaxResult queryCompDevelopRc(){
        return countyDeveSituationService.queryCompDevelopRc();
    }

    /**
     * 规模以上工业企业新产品销售收入占规模以上工业营业收入比重
     * @return
     */
    @RequiresPermissions("daping:cxhl:yysrxz")
    @GetMapping("/queryCompDevelopTo")
    public AjaxResult queryCompDevelopTo(){
        return countyDeveSituationService.queryCompDevelopTo();
    }

    /**
     * 规模以上工业单位增加值能耗降低率
     * @return
     */
    @RequiresPermissions("daping:lsdl:nhjdl")
    @GetMapping("/queryCompDevelopProduc")
    public AjaxResult queryCompDevelopProduc(){
        return countyDeveSituationService.queryCompDevelopProduc();
    }

    /**
     * PM2.5平均浓度及同比改善率
     * @return
     */
    @RequiresPermissions("daping:lsdl:pm")
    @GetMapping("/queryInnovLeadRdOr")
    public AjaxResult queryInnovLeadRdOr(){
        return countyDeveSituationService.queryInnovLeadRdOr();
    }

    /**
     * 省级以上绿色工业园区、工厂和供应链数量
     * @return
     */
    @RequiresPermissions("daping:lsdl:gylsl")
    @GetMapping("/queryInnovLeadIp")
    public AjaxResult queryInnovLeadIp(){
        return countyDeveSituationService.queryInnovLeadIp();
    }

    /**
     * 绿色贷款余额占各项贷款余额比重
     * @return
     */
    @RequiresPermissions("daping:lsdl:dkyebz")
    @GetMapping("/queryInnovLeadIs")
    public AjaxResult queryInnovLeadIs(){
        return countyDeveSituationService.queryInnovLeadIs();
    }
}
